<%@ Page Language="C#" MasterPageFile="~/Common/WebSiteMaster.master" AutoEventWireup="true" CodeBehind="B_Interfaces.aspx.cs" Inherits="ScottCateAjax2008.Lesson07.B_Interfaces" Title="Inhterface Contracts" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <asp:ScriptManager id="SC1" runat="server">
        <Scripts>
            <asp:ScriptReference Path="B_Interfaces.aspx.js" />
        </Scripts>
    </asp:ScriptManager>
    
    <a href="#ClearSpeed" onClick="ClearTest()">Clear Interface Test</a><br /><br />

    <a href="#ClearSpeed" onClick="IsHighPerformance(new ScottCate.Automobile('White'))">
        Is Automobile High Performance?</a><br />

    <a href="#Speed" onClick="IsHighPerformance(new ScottCate.Corvette('Red'))">
        Is Corvette High Performance?</a><br />

    <a href="#Speed" onClick="IsHighPerformance(new ScottCate.Ferrari('Yellow'))">
        Is Ferrari High Performance?</a><br />

    <a href="#Speed" onClick="IsHighPerformance(new ScottCate.CheapCar('Primar or rust'))">
        Is Cheap Car High Performance?</a><br />

    <a href="#Speed" onClick="IsHighPerformance(new ScottCate.Dumptruck('Dirty'))">
        Is Dump Truck High Performance?</a><br />

    <a href="#Speed" onClick="IsHighPerformance(new ScottCate.Motorcycle('Chrome'))">
        Is Motorcylce High Performance?</a><br />

    <a href="#Speed" onClick="IsHighPerformance(new ScottCate.SpeedBike('Chrome'))">
        Is SpeedBike High Performance?</a><br />
    
    <div id="speed" style="margin-top:30px">&nbsp;</div>

</asp:Content>